<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
    <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
    <% } %>
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <% if (htmlWebpackPlugin.options.HUAWEI_SITE_MONITOR_APPID !== '' && htmlWebpackPlugin.options.NODE_ENV === 'production') { %>
      <script>
        !function(x, n) {
          window[n] = window[n] || {};
          window[n].config = {
            appId: '<%=htmlWebpackPlugin.options.HUAWEI_SITE_MONITOR_APPID %>',apiRepo: true,thirdApi: true,hashMode: true,smartJsErr: true,JsErrClean: true,webResource: true,  };
          var o = document.createElement('script');
          o.src = x, o.async = !0;
          var d = document.body.firstChild;
          document.body.insertBefore(o, d);
        }('https://res.hc-cdn.com/js-agent/1.0.36/jsagent.min.js', '__fr');
      </script>
      <% } %>
    <div id="app"></div>
    <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
    <script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
    <% } %>
  </body>
</html>
